import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(
      home: TextWidget(),
    ));

class TextWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Text Widget'),
      ),
      body: DefaultTextStyle(
        style: const TextStyle(
          color: Colors.red,
          fontSize: 30.0
        ),
        textAlign: TextAlign.start,
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: const [
            Text('Hello Word'),
            Text('I am Jck'),
            Text("Good Morning", style: TextStyle(
              inherit: false,
              color: Colors.grey,
              fontSize: 20.0
            ),)
          ],
        ),
      ),
    );
  }
}
